
<div class="centreForm">
    <c:choose>
        <c:when test="${!empty addContractFailureFlag}">
            <p class="message errorMessage">Unable to add contract to the database.</p>
        </c:when>
        <c:when test="${!empty deletedProductName}">
            <p class="message confirmationMessage">${deletedProductName} has been deleted.</p>
        </c:when>
        <c:otherwise>
            <h1>Delete Confirmation</h1>
            <p>Are you sure you want to delete ${product.name}?</p>
            <form style="display: inline;" method="post" action="<c:url value='/catalogue/${product.id}/remove'/>">
                <input type="submit" class="submit" value="Yes" />
            </form>
            <form style="display: inline;" method="get" action="<c:url value='/catalogue'/>">
                <input type="submit" class="submit" value="No" />
            </form>
        </c:otherwise>
    </c:choose>
</div>